
package com.idealighter.game.games.orderma.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.games.orderma.dto.HuPaiItemInfo;
import com.idealighter.game.message.core.ResMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 玩家胡 .
 *
 */
@ResMsg(524224)
@Data
public class ResHuMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = 524224;
  // 胡牌麻将id
  @Protobuf(order = 2)
  private int mj;
  // 胡牌玩家order
  @Protobuf(order = 3)
  private int order;
  // 类型(0:自摸,1:胡牌)
  @Protobuf(order = 4)
  private int type;
  // 是否抢杠胡(0:不是,非0:是)
  @Protobuf(order = 5)
  private int isQgh;
  // 胡牌(自摸、点炮)玩家名称
  @Protobuf(order = 6)
  private String huPlayerName;
  // 被胡牌(被自摸、被点炮)玩家名称
  @Protobuf(order = 7)
  private String huedPlayerName;
  // 合计倍数
  @Protobuf(order = 8)
  private int totalMultiple;
  // 合计金币
  @Protobuf(order = 9)
  private long totalGolds;
  // 胡牌明细信息
  @Protobuf(order = 10)
  private List<HuPaiItemInfo> items = new ArrayList<>();
  // 被胡玩家order
  @Protobuf(fieldType = FieldType.INT32, order = 11)
  private List<Integer> loserOrders = new ArrayList<>();
}
